Random access memory with a plurality amplifier groups for reading and writing in normal and test modes

ABSTRACT

A semiconductor memory device operable for reading and writing in a normal mode and in a test mode is divided into memory cell sections each having blocks of memory cells. Data bus lines are connected to the respective blocks, and switches interconnect data bus lines connected to blocks of the different sections. The switch are made conductive during reading and writing in the normal mode and during writing in the test mode, and nonconductive during reading in the test mode. Input data are applied onto the data bus lines connected one of the blocks for writing in the blocks of the sections simultaneously during writing in the normal mode and in the test mode. In the normal mode, data are read out of the blocks of the sections through the data bus lines connected to the above-mentioned one of the blocks. In the test mode, the data are read out of the blocks of the sections through the data bus lines connected to the respective blocks.

This application is a continuation of U.S. application Ser. No. 08/329,223 filed Oct. 26, 1994, now abandoned, which is a continuation of U.S. application Ser. No. 08/149,540, filed Nov. 9, 1993, U.S. Pat. No. 5,375,088, which is a continuation of U.S. application Ser. No. 07/912,135, filed on Jul. 9, 1992, U.S. Pat. No. 5,293,598 which is a continuation of U.S. application Ser. No. 07/634,813, filed Dec. 31, 1990 now abandoned which is a continuation of U.S. application Ser. No. 07/396,042, filed Aug. 21, 1989, now abandoned which is a division of U.S. application Ser. No. 07/077,306, filed Jul. 24, 1987, U.S. Pat. No. 4,873,669.

BACKGROUND OF THE INVENTION

The present invention relates to a MOS random access memory, (RAM), and particularly to an improvement in the configuration of data bus lines of a large capacity MOSRAM.

FIG. 1 shows a configuration of data bus lines of a conventional MOS dynamic RAM. In recent years, the capacity of MOS dynamic RAMs is increasing. With that, the time required for testing a RAM is increasing and being more problematical. Various schemes have been proposed to reduce the test time. For instance, in the ISSCC Digest Technical Papers (1985); p. 240; M. Kumanoya et al, it is proposed to treat a 1-M bit DRAM of a x1 configuration as a memory of x4 configuration during test mode. With the x4 configuration for the test mode the memory cell array is divided into four blocks, and part (two bits) of the address code are used to select one of the four blocks while the rest of the address code is used to select, one of the memory cells in each block. When for instance reading data by application of an address code, four bits of data are read out of the corresponding memory cells (addressed by the above-mentioned "rest of the address code") of the four blocks onto four pairs of I/O lines and only one of switches connected to the I/O lines is made conductive by the above-mentioned "part of the address code", so that only one of the four bits is output from the memory cell array.

FIG. 1 shows a MOS DRAM of a x1 configuration having a test mode function of a x4 configuration. In the figure, the MOS DRAM comprises a memory cell array 1, four preamplifiers 2 for detecting and amplifying data on four pairs of complementary data I/O lines 7 read out of the memory cell array 1, a mode controller 3 for switching between a normal mode and a test mode, a test controller 4 for providing signals for the test mode operation, a block selector 5 for secting one of the four outputs (data) read out during the normal mode and a buffer 6 in the form of an exclusive-NOR gate receiving the four outputs (data) during the test mode and outputting test data.

During the normal mode operation, the mode controller 3 is kept in the normal mode under control of the test controller 4. In this state, data are read out of the memory cell array 1 onto the four pairs of complementary I/O lines 7, and are detected and amplified by the preamplifiers 2. The four data are then read out by the block selector 5 and one of the four data corresponding to the address then being supplied is output. If the memory cell array 1 consists of N memory cells or N bits, the time required for reading all the bits is

    (cycle time tc)×N=N·tc

During the test mode operation, the four data are similarly supplied via the I/O lines 7 to and amplified at the preamplifiers 2. The test controller 4 then provides a test control signal, upon which the mode controller 3 operates in the test mode. The four data are then supplied to the exclusive-NOR buffer 6, and the test result is output. The time required for reading all the bits is

    N·tc/4

Writing data is achieved by inputing data via the Din terminal, the block selector 5, the mode controller 3 and the pairs of the I/O lines 7. In the normal mode, the data is supplied to the memory cell array 1 through one of the pairs of the I/O lines 7. In the test mode, the same data are supplied to the memory cell array 1 through the four pairs of the I/O lines 7 to the four bits (four memory cells). Thus, the time required for writing in the test mode is 1/4 of the time required for writing in the normal mode.

The concept of using the x4 configuration in the test mode can be hypothetically extended to a x8 configuration, a x16 configuration, etc. to cope with further increase in the capacity of memories. But this leads to increase in the number of the I/O lines disposed in parallel with each other on the chip surface, e.g., 8 pairs, 16 pairs, etc., and increased complexity of the bus line configuration and increased chip surface area.

SUMMARY OF THE INVENTION

An object of the invention is to improve test mode functions, without increasing the number of I/O lines disposed in parallel with each other.

Another object of the invention is to reduce the test time without increasing the complexity of the bus line configuration.

According to the invention, there is provided a memory device operable for reading and writing in a normal mode and in a test mode, comprising,

memory cell sections each having blocks of memory cells,

data bus lines connected to the respective blocks,

switch means for interconnecting data bus lines connected to blocks of the different sections,

switch control means for causing the switch means to be conductive during reading and writing in the normal mode and during writing in the test mode, and causing the switch means to be nonconductive during reading in the test-mode,

means connected to the data bus lines that are connected to the blocks of one of the sections for applying input data onto the data bus lines for writing in the blocks of the sections simultaneously during writing in the normal mode and in the test mode, and for outputting the data read out of the blocks of the sections during reading in the normal mode, and for outputting the data read out of the blocks of said one of the sections during reading in the test mode, and

means connected to the data bus lines that are connected to the blocks of the section or sections other than said one of the sections, for outputting the data read output of the memory cell blocks of said other section or sections during reading in the test mode.

BRIEF DESCRIPTION OF THE DRAWINGS

In the accompanying drawings:

FIG. 1 is a block diagram showing a prior art random access memory;

FIG. 2 is a block diagram showing a random access memory of an embodiment of the invention;

FIG. 3 is a block diagram showing a specific example of the mode controller; and

FIG. 4 is a block diagram showing an example of exclusive-NOR gate.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

An embodiment of the invention will be described with reference to FIG. 2. In FIG. 2, the members or elements bearing the reference numerals identical to those in FIG. 1 have identical or similar functions. The memory cell array is divided into two sections 8 and 9. Connected to the first section 8 are four pairs of complementary I/O lines 14. Connected to second section 9 are four pairs of complementary I/O lines 15. The I/O lines 14 and 15 are interconnected by I/O switches 13. The layout of the I/O lines 14 and 15 on the chip surface of the semiconductor device is such that the I/O lines interconnected by the I/O switches 13 are disposed along common straight lines. In this connection, it should be noted that FIG. 2 shows not only the interconnection of the I/O lines but also the layout of the I/O lines on the chip surface.

Four preamplifiers 10 are connected to the four pairs of the I/O lines 15 and are used for reading in the normal mode as well as in the test mode. Four test preamplifiers 11 are connected to the four pairs of the I/O lines 14 and are used for reading in the test mode, but not in the normal mode. A write controller 12 provides a signal 12a which is set at "0" for writing and "1" for reading. The signal 12a is input to a NAND gate 17, which also receives a signal 4a from a test controller 4. The signal 4a is at "1" during test mode and "0" during normal mode. The output 17a of the NAND gate 17, is at "0" during reading in the test mode, and is at "1" during writing in the test mode and during reading and writing in the normal mode. Accordingly, the I/O switches 13 are conductive except during reading in the test mode. An exclusive-NOR buffer 16 is connected to receive 8 bits of data, i.e., four bits from the test preamplifiers 11, and the other four bits from the preamplifiers 10 via the mode controller 3, and produces an output of "1" when all the inputs are identical, i.e., all "1" or all

Row decoders 18 and 19 cooperate to select rows in the sections 8 and 9 during reading and writing in the normal mode. For instance, in the normal mode, the MSB of the row address code is used to select one of the sections 8 and 9. Memory cells one each of the four blocks of the selected section are selected by the rest of the address code, and one of the four memory cells is selected by the block selector 5 by selection of one of the I/O lines. the test mode, the MSB of the row address code is not used for the selection of one of the sections 8 and 9. (It can therefore be used for other purposes.) Accordingly, memory cells one each of the four blocks of each of the sections are selected by the above-mentioned "rest of the address code", and the data are simultaneously read out of or written in eight memory cells.

The embodiment shown in FIG. 2 has the configuration of four pairs of I/O lines and the mode controller 3 which are identical to those of the x4 configuration shown in FIG. 1, but can read and write 8 bits of data simultaneously in the test mode.

The operation will now be described.

During reading in the normal mode, the I/O switches 13 are on. When the first section 8 is accessed, four bits of data are read out onto the four pairs of I/O lines 14. The control signals 17a to the I/O switches 13 are at "1", under control by the write controller 12 and the test controller 4, so that the I/O switches 13 are conductive and the I/O lines 14 and 15 are respectively interconnected. As a result, the data on the I/O lines 14 are transmitted to the I/O lines 15. The preamplifiers 10 amplifies the data and the mode controller 3 and the block selector 5 select one of the four bits of data, which is output via the terminal Dout.

During writing in the normal mode, when one bit of data is to be written in the first section 8, the data is input via the terminal Din, the block selector 5 and the mode controller 3, by which the data is transmitted to only one of the pairs of the I/O lines 15, and is transmitted further to one of the pairs of the I/O lines 14 through the I/O switches 13 now being closed. Thus, the data is written in the first section 8.

For writing data in the second section 9, the data input via the terminal Din is transmitted to one of the pairs of the I/O lines 15 and is written in the second section 9.

The operations during reading in the test mode are as follows: The I/O switches 13 are then open under control of the test controller 4 and the write controller 12.

Data are read out of the first section 8 and onto the four pairs of I/O lines 14, and are amplified by the four test preamplifiers 11, whose outputs are input to an exclusive-NOR buffer 16. Simultaneously with the reading of data from the first section 8, data are also read out of the second section 9 onto the four pairs of I/O lines 15, and are amplified by the four preamplifiers 10, whose outputs are input to the exclusive-NOR buffer 16. The exclusive-NOR buffer 16 produces an output "1" when all the eight inputs are identical, i.e., all "1" or all "0". In advance of the data reading in the test mode, the same data are written into the eight memory cells, designated by the same address code except the MSB, from which the data are read out simultaneously during the subsequent reading. If all the data as input to the exclusive-NOR buffer 16 ape identical and its output is "1", it is judged that the memory operation is correct.

During writing in the test mode, the I/O switches 13 are conductive under control of the test controller 4 and the write controller 12. The data input via the terminal Din are transmitted to the four pairs of I/O lines 15 and are written into the section 9. The data are also transferred to the I/O lines 14 and are written into the first section 8. Thus, the data are simultaneously written into eight memory cells or eight bits.

In other words, the memory device operates as a memory device of x8 configuration, and the test time is reduced to 1/8.

FIG. 3 shows a specific example of the mode controller 3 with various circuit components connected thereto. The outputs of the preamplifiers 10 are connected to a node 22 through switches in the form of transistors 21a to 21d, which are selectively made conductive by the block selector 5, which in turn is controlled by a decoder 19. The node 22 is connected to a node 24 through a switch in the form of MOS transistor 23, which is made conductive when a test control signal TE is at "1", i.e., in the normal mode. The node 24 is connected through an amplifier 25 to a terminal D.

During reading in the normal mode one of the MOS transistors 21a to 21d and the MOS transistor 23 are conductive, so that one of the outputs of the preamplifiers 10 is transmitted to and output through the terminal D.

The outputs of the preamplifiers 10 are also input to the exclusive-NOR buffer 16. The outputs of the test preamplifiers 11 are also input to the exclusive NOR buffer 16 through switches in the form of MOS transistors 26a to 26d which are made conductive when a read signal R from the write controller 12 is at "1" indicating that the reading (rather than writing) is to be performed.

During reading in the test mode, the outputs of the preamplifiers 10 and the test preamplifiers 11 are input to the exclusive-NOR buffer 16. When all the inputs to the exclusive-NOR buffer 16 are identical, i.e., all "1" or all "0", the output of the exclusive-NOR buffer 16 is "1". This output is passed through a switch in the form of MOS transistor 27, which is conductive during the test mode by virtue of a test control signal TE from the test controller 4 which is at "1" in the test mode, and through the amplifier 25 to the terminal D.

Input buffers 31a, 31b and 32, and MOS transistors 33a to 33d, 34a to 34d are provided for writing. The buffer 32 is activated only during writing by a write control signal W from the write controller 12.

In the normal mode, one of the four MOS transistors 33a to 33d is selected and made conductive. The data input through the terminal D is therefore passed through the MOS transistor being conductive to the I/O line connected to the conducting MOS transistor.

In the test mode, all the four transistors 34a to 34d are conductive by virtue of the test control signal TE. The input data is therefore transmitted to all the four I/O lines I/O B1 to I/O B4.

Although not illustrated, complementary signals are also supplied to complementary I/O lines I/O B1 to I/O B4.

FIG. 4 shows an example of configuration of the gates 41 and an OR gate 42 receiving four bits from the test preamplifiers 11, an AND gate 43 and a NNOR gate 44 receiving four bits from the preamplifiers 10 as well as the outputs of the AND gate 41 and the NOR gate 42, respectively. The output of the AND gate 43 is at "1" when all the outputs of the preamplifiers 10 and the test preamplifiers 11 are at "1". The output of the NOR gate 44 is at "1" when all the outputs of the preamplifiers 10 and the test preamplifiers 11 are at "0". The outputs of the AND gate 43 and the NOR gate 46 44 are input to an OR gate whose output is at "1" when the inputs to the exclusive-NOR buffer are all "1" or all "0", i.e., identical to each other.

The embodiment described above is of the x1 configuration, has four pairs of I/O line and operates as x8 configuration in the test mode. But the invention is not limited to the specific configuration with respect to the number of blocks, the number of I/O lines and the number of sections.

As has been described according to the invention, the test time can be reduced without increasing the number of I/O line disposed in parallel with each other and without increasing the configuration of I/O lines. 

What is claimed:
 1. A semiconductor memory device for reading and writing in normal and test modes, respectively, comprising:first and second memory cell sections, each section having a plurality of blocks, each of said blocks having a plurality of memory cells; first and second data bus line groups corresponding to said first and second memory cell sections respectively, each of said data bus line groups having a plurality of data bus line pairs, each of said data bus line pairs being coupled to a block of the corresponding one of said memory cell sections in such a manner that each of said data bus line pairs reads data from one of said memory cells of the block coupled to each of said data bus line pairs; first and second amplifier groups corresponding to said first and second data bus line groups respectively, each of said amplifier groups including at least one amplifier means having active and inactive states, each of said amplifier means being coupled to a respective one of said data bus line pairs of the corresponding one of said data bus line groups, the amplifier means of one of said first and second amplifier groups being in said active state in the normal mode, and the amplifier means in the other amplifier group being in said inactive state in the normal mode, the amplifier means of both said first and second amplifier groups being in said active state in the test mode, each of said amplifier means in said active state in the test mode amplifying data appearing on a respective one of the data bus line pairs coupled to each of said amplifier means in said active state in the test mode; and means for comparing data amplified by said amplifier means in said active state in the test mode and for generating an output signal, said output signal indicating whether said compared data are identical or not.
 2. The device of claim 1, wherein said output signal indicates a logical level only when said compared data are identical.
 3. The device of claim 1, wherein each of said data bus line pairs reads data from one of said memory cells selected by address information.
 4. A semiconductor memory device for reading and writing in normal and test modes, respectively, comprising:a plurality of memory cell sections, each section having a plurality of blocks, each of said blocks having a plurality of memory cells; a plurality of data bus line groups corresponding to said plurality of memory cell sections respectively, each of said data bus line groups having a plurality of data bus line pairs, each of said data bus line pairs being coupled to a block of the corresponding one of said memory cell sections in such a manner that each of said data bus line pairs reads data from one of said memory cells of the block coupled to each of said data bus line pairs; a plurality of amplifier groups corresponding to said plurality of data bus line groups respectively, each of said amplifier groups including at least one amplifier means having active and inactive states, each of said amplifier means being coupled to a respective one of said data bus line pairs of the corresponding one of said data bus line groups, the amplifier means of one of said amplifier groups being in said active state in the normal mode and the amplifier means in the other amplifier groups being in said inactive state in the normal mode, the amplifier means of said plurality of amplifier groups being in said active state in the test mode, each of said amplifier means in said active state in the test mode amplifying data appearing on a respective one of the data bus line pairs coupled to each of said amplifier means in said active state in the test mode; and means for comparing data amplified by said amplifier means in said active state in the test mode and for generating an output signal, said output signal indicating whether said compared data are identical or not.
 5. The device of claim 4, wherein said output signal indicates a logical level only when said compared data are identical.
 6. The device of claim 4, wherein each of said data bus line pairs reads data from one of said memory cells selected by address information.
 7. A semiconductor memory device for reading and writing in normal and test modes, respectively, comprising:first and second memory cell sections, each section having a plurality of blocks, each of said blocks having a plurality of memory cells; first and second data bus line groups corresponding to said first and second memory cell sections respectively, each of said data bus line groups having a plurality of data bus line pairs each being coupled to a block of the corresponding one of said memory cell sections in such a manner that each of said data bus line pairs reads data from one of said memory cells of the block coupled to each of said data bus line pairs; first and second amplifier groups corresponding to said first and second data bus line groups respectively and having active and inactive states, each of said amplifier groups including at least one amplifier means coupled to a respective one of said data bus line pairs of the corresponding one of said data bus line groups for amplifying data appearing on the respective one of the data bus line pairs, wherein, in the normal mode, one of said first and second amplifier groups is in said active state and the other of said first and second amplifier groups is in said inactive state, and in the test mode, both said first and second amplifier groups are in said active state; and means for comparing data amplified by said amplifier means in the test mode and for generating an output signal, said output signal indicating whether said compared data are identical or not.
 8. The device of claim 7, wherein each of said data bus line pairs reads data from one of said memory cells selected by address information.
 9. A semiconductor memory device for reading and writing in normal and test modes, respectively, comprising:a plurality of memory cell sections, each section having a plurality of blocks, each of said blocks having a plurality of memory cells; a plurality of data bus line groups corresponding to said plurality of memory cell sections respectively, each of said data bus line groups having a plurality of data bus line pairs, each of said data bus line pairs being coupled to a block of the corresponding one of said memory cell sections in such a manner that each of said data bus line pairs reads data from one of said memory cells of the block coupled to each of said data bus line pairs; a plurality of amplifier groups corresponding to said plurality of data bus line groups respectively and having active and inactive states, each of said amplifier groups including at least one amplifier means coupled to a respective one of said data bus line pairs of the corresponding one of said data bus line groups for amplifying data appearing on the respective one of the data bus line pairs, wherein, in the normal mode, one of said plurality of amplifier groups is in said active state and the others of said plurality of amplifier groups are in said inactive state, and in the test mode, the plurality of amplifier groups are in said active state; and means for comparing data amplified by said amplifier means in the test mode and for generating an output signal, said output signal indicating whether said compared data are identical or not.
 10. The device of claim 9, wherein each of said data bus line pairs reads data from one of said memory cells selected by address information.
 11. A semiconductor memory device for reading and writing in normal and test modes, respectively, comprising:first and second memory cell sections, each of said sections having a plurality of blocks, each of said blocks having a plurality of memory cells; first and second data bus line groups corresponding to said first and second memory cell sections respectively, each of said data bus line groups having a plurality of data bus line pairs each being coupled to a corresponding block of the corresponding memory cell section in such a manner that each of said data bus line pairs reads data from one of said memory cells, selected by an address information signal, of the corresponding block; first and second amplifier groups corresponding to said first and second data bus line groups respectively, each of said amplifier groups including at least one amplifier means having active state and inactive state, each of said amplifier means being coupled to a corresponding data bus line pair of the corresponding data bus line group, the amplifier means in said active state amplifying data appearing on the corresponding data bus line pair, wherein, in the normal mode, the amplifier means of one of said first and second amplifier groups coupled to the block having the memory cell selected by said address information signal is in said active state, and the remaining amplifier means coupled to the blocks having the memory cells all unselected by said address information signal are in said inactive state, and the amplifier means of both said first and second amplifier groups and in said active state in the test mode; and means for comparing data amplified by said amplifier means in said active state in the test mode and for generating an output signal, said output signal indicating whether said compared data are identical or not.
 12. A semiconductor memory device for reading and writing in normal and test modes, respectively, comprising:a plurality of memory cell sections, each of said sections having a plurality of blocks, each of said blocks having a plurality of memory cells; a plurality of data bus line groups corresponding to said plurality of memory cell sections respectively, each of said data bus line groups having a plurality of data bus line pairs each being coupled to a corresponding block of the corresponding memory cell section in such a manner that each of said data bus line pairs reads data from one of said memory cells, selected by an address information signal, of the corresponding block; a plurality of amplifier groups corresponding to said plurality of data bus line groups respectively, each of said amplifier groups including at least one amplifier means having active state and inactive state, each of said amplifier means coupled to a corresponding data bus line pair of the corresponding data bus line group, the amplifier means in said active state amplifying data appearing on a corresponding one of the data bus line pairs, wherein, in the normal mode, the amplifier means of one of said plurality of amplifier groups, coupled to the data bus line pair coupled to the block having the memory cell selected by said address information signal, is in said active state and the remaining amplifier means, each coupled to a corresponding one of the data bus line pairs coupled to a corresponding one of the blocks having the memory cells all unselected by said address information signal, are in said inactive state, and in the test mode, the amplifier means of said plurality of amplifier groups are in said active state; and means for comparing data amplified by said amplifier means in said active state in the test mode and for generating an output signal, said output signal indicating whether said compared data are identical or not. 